import { BaseCommand } from '@amcax/base';

export interface CircleBarButtonItem {
  name?: string;
  cmd: BaseCommand;
  featureFlag?: string;
  activated?: string;
}

export interface CircleBarTableButtonItem {
  id: string;
  environment: string[];
  type: string;
  name: string;
  label: string;
  icon: string;
  featureFlag: string;
}

export interface CircleButtonProps {
  isEdit?: boolean;
  activated?: boolean;
  cmd: BaseCommand;
  onCmdInvoked?: (cmd: BaseCommand) => void;
  onCmdInvokFinished?: (cmd: BaseCommand) => void;
  className?: string;
  style?: React.CSSProperties;
  startAngle: number;
  endAngle: number;
  radius: number;
  innerRadius: number;
  iconSize?: number;
  onHoverLabelChange?: (label: string) => void;
  onHoverLabelClear?: () => void;
  onClick?: () => void;
  onDrop?: (e: React.DragEvent) => void;
  onDragOver?: (label: string) => void;
  onDragLeave?: () => void;
}
